package com.htthorizon.model.service;

import com.htthorizon.common.core.web.page.TableDataInfo;
import com.htthorizon.model.domain.ModelNeed;
import com.htthorizon.model.request.ModelNeedAddReq;
import com.htthorizon.model.request.ModelNeedSearchReq;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface IModelNeedService {
    TableDataInfo selectModelNeedList(ModelNeedSearchReq modelNeed, TableDataInfo tableDataInfo,Integer pageNum,Integer pageSize);

    boolean addModelNeed(ModelNeedAddReq modelNeedAddReq) throws UnsupportedEncodingException;

    boolean edit(ModelNeedAddReq modelNeedAddReq);

    boolean delById(Long id);

    boolean checkStatus(Long id,Integer checkStatus);
}
